package com.pennphoto.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
@RemoteServiceRelativePath("PhotoService")
public interface PennPhotoCRUDService extends RemoteService{

	public ArrayList<ViewedPhotos> getPhotoStream(int userId) throws Exception;
	public int insertPhoto(int userId, String description, String tag, String url, ArrayList<String> cnames, ArrayList<String> fnames, boolean isPublic) throws Exception;
	public int updateViewedPhoto(int userId, int photoId, int rating, String comment) throws Exception;
	public int deletePhoto(int userId, int photoId) throws Exception;
	public ArrayList<ViewedPhotos> searchForPhotos(String query,int userId) throws Exception;
	public ArrayList<String> getCircleNames(int userId) throws Exception;
	public ArrayList<String> getFriendNames(int userId) throws Exception;
	
	
}
